import axios from '../axios'

/*
 * 日志管理模块
 */

// 分页查询
export const getLoginLog = (data) => {
  return axios({
    url: 'log/list',
    method: 'get',
    params: {
      limit: data.limit,
      page: data.page,
      type: data.type
    } 
  })
}

//访问量
export const getLoginNum = () => {
  return axios({
    url: 'log/getLogIp',
    method: 'get'
  })
}
